﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Com.Framework.Data;

namespace Com.Library.DB.Popup
{
	internal class PopupModifyArguments : DBArguments
	{
		public int n4SeqNo
		{
			get { return Convert.ToInt32(GetValue("n4SeqNo", 0)); }
			set { SetValue("n4SeqNo", value); }
		}

		public int n4Width
		{
			get { return Convert.ToInt32(GetValue("n4Width", 0)); }
			set { SetValue("n4Width", value); }
		}

		public int n4Height
		{
			get { return Convert.ToInt32(GetValue("n4Height", 0)); }
			set { SetValue("n4Height", value); }
		}

		public int n4Top
		{
			get { return Convert.ToInt32(GetValue("n4Top", 0)); }
			set { SetValue("n4Top", value); }
		}

		public int n4Left
		{
			get { return Convert.ToInt32(GetValue("n4Left", 0)); }
			set { SetValue("n4Left", value); }
		}

		public byte n1PopupType
		{
			get { return Convert.ToByte(GetValue("n1PopupType", (byte)0)); }
			set { SetValue("n1PopupType", value); }
		}

		public string strImageURL
		{
			get { return Convert.ToString(GetValue("strImageURL", string.Empty)); }
			set { SetValue("strImageURL", value); }
		}

		public string strLinkURL
		{
			get { return Convert.ToString(GetValue("strLinkURL", string.Empty)); }
			set { SetValue("strLinkURL", value); }
		}

		public string strHTML
		{
			get { return Convert.ToString(GetValue("strHTML", string.Empty)); }
			set { SetValue("strHTML", value); }
		}

		public byte IsCookie
		{
			get { return Convert.ToByte(GetValue("IsCookie", (byte)0)); }
			set { SetValue("IsCookie", value); }
		}

		public string strManagerName
		{
			get { return Convert.ToString(GetValue("strManagerName", string.Empty)); }
			set { SetValue("strManagerName", value); }
		}
	}
}